$(function () {
    loadCuredData("四川")
})

//加载数据
function loadCuredData(name) {
    var pie_curedFive = echarts.init(document.getElementById("cureCount"), 'infographic');
    option = {
        xAxis: {
            type: 'category',
            data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
            //设置坐标字体颜色
            axisLine: {
                lineStyle: {
                    color: "red",
                }
            }
        },
        yAxis: {
            type: 'value',
            //设置坐标字体颜色
            axisLine: {
                lineStyle: {
                    color: "red",
                }
            }

        },
        series: [{
            data: [120, 200, 150, 80, 70, 110, 130],
            //设置柱状图颜色
            color: 'blue',
            type: 'bar',

        }]
    };
    pie_curedFive.setOption(option);
}

